<template>
  <a-config-provider :locale="zhCN" :theme="theme">
    <router-view />
  </a-config-provider>
</template>

<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

dayjs.locale('zh-cn')

const theme = {
  token: {
    colorPrimary: '#1890FF',
    colorBorder: '#D9D9D9'
  }
}
</script>

<style>
@font-face {
  font-family: 'DingTalk';
  src: url('./assets/fonts/DingTalk-JinBuTi.ttf');
}
.DingTalk {
  font-family: DingTalk, sans-serif;
}
</style>
